<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<f:view>
	<h:form>

		<h:panelGrid columns="2" cellpadding="10">
			<h:outputLink value="rechercheMedia.jsf">
				<h:outputText value="Recherche" />
			</h:outputLink>
		</h:panelGrid>
			
		<h:panelGrid columns="2" cellpadding="10">
			<h:outputText style="font-weight:bold" value="title       :" />
			<h:outputText value="#{CategoryControl.media.title}" />
			<h:outputText style="font-weight:bold" value="resume      :" />
			<h:outputText value="#{CategoryControl.media.resume}" />
			<h:outputText style="font-weight:bold" value="author name :" />
			<h:outputText value="#{CategoryControl.media.author.name}" />
			<h:outputText style="font-weight:bold" value="author bio  :" />
			<h:outputText value="#{CategoryControl.media.author.biography}" />
			<h:outputText style="font-weight:bold" value="category    :" />
			<h:outputText value="#{CategoryControl.media.catrgory.name}" />
			<h:outputText style="font-weight:bold" value="genre       :" />
			<h:outputText value="#{CategoryControl.media.genre.name}" />
		</h:panelGrid>
	</h:form>
</f:view>
